/*
 * Copyright (c) 2007, Sun Microsystems, Inc.
 * 
 * All rights reserved.
 * 
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 
 *     * Redistributions of source code must retain the above copyright
 *       notice, this list of conditions and the following disclaimer.
 *     * Redistributions in binary form must reproduce the above copyright
 *       notice, this list of conditions and the following disclaimer in
 *       the documentation and/or other materials provided with the
 *       distribution.
 *     * Neither the name of Sun Microsystems, Inc. nor the names of its
 *       contributors may be used to endorse or promote products derived
 *       from this software without specific prior written permission.
 * 
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
 * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
 * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
package demo;

import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import javax.microedition.lcdui.game.*;

/**
 * @author  Karel Herink
 * @version 1.0
 */
public class GameDesign {
    
    //<editor-fold defaultstate="collapsed" desc=" Generated Fields ">//GEN-BEGIN:|fields|0|
    private Image topview_tiles;
    public int AnimWaterSeq001Delay = 200;
    public int[] AnimWaterSeq001 = {71, 72, 73, 74, 75};
    private TiledLayer Water;
    public int AnimWaterWater;
    private TiledLayer Base;
    private TiledLayer Trees;
    private Sprite Vaca;
    public int VacaFrenteDelay = 200;
    public int[] VacaFrente = {72, 73, 74};
    public int VacaCostasDelay = 200;
    public int[] VacaCostas = {48, 49, 50};
    public int VacaEsquerdaDelay = 200;
    public int[] VacaEsquerda = {84, 85, 86};
    public int VacaDireitaDelay = 200;
    public int[] VacaDireita = {60, 61, 62};
    private TiledLayer Things;
    private Sprite Cavalo;
    public int CavaloCostasDelay = 200;
    public int[] CavaloCostas = {51, 52, 53};
    public int CavaloEsquerdaDelay = 200;
    public int[] CavaloEsquerda = {87, 88, 89};
    public int CavaloDireitaDelay = 200;
    public int[] CavaloDireita = {63, 64, 65};
    public int CavaloFrenteDelay = 200;
    public int[] CavaloFrente = {75, 76, 77};
    private Image bode2;
    private Sprite Thomas;
    public int ThomasSeqWalkHorizDelay = 140;
    public int[] ThomasSeqWalkHoriz = {80, 81, 82, 83};
    public int ThomasSeqWalkVertDelay = 140;
    public int[] ThomasSeqWalkVert = {84, 85, 86, 87};
    private Sprite Karel;
    public int KarelSeqWalkSideFastDelay = 100;
    public int[] KarelSeqWalkSideFast = {100, 101, 102, 103};
    public int KarelSeqWalkDownDelay = 150;
    public int[] KarelSeqWalkDown = {88, 89, 90, 91};
    public int KarelSeqWalkUpDelay = 150;
    public int[] KarelSeqWalkUp = {94, 95, 96, 97};
    public int KarelSeqWalkSideDelay = 150;
    public int[] KarelSeqWalkSide = {100, 101, 102, 103};
    private TiledLayer MudarFase1;
    private Image bode2_1;
    private Sprite Ovelha;
    public int BodeCostasDelay = 200;
    public int[] BodeCostas = {10, 11};
    public int BodeEsquerdaDelay = 200;
    public int[] BodeEsquerda = {46, 47};
    public int BodeFrenteDelay = 200;
    public int[] BodeFrente = {34, 35};
    public int BodeDireitaDelay = 200;
    public int[] BodeDireita = {22, 23};
    private TiledLayer Grade;
    private Image Gruff_Goat_1;
    private Image bode;
    private Sprite Bode1;
    public int BodeSeqCostasDelay = 200;
    public int[] BodeSeqCostas = {48, 49, 50, 49};
    public int BodeSeqEsquerdaDelay = 200;
    public int[] BodeSeqEsquerda = {84, 85, 86, 85};
    public int BodeSeqDireitaDelay = 200;
    public int[] BodeSeqDireita = {60, 61, 62, 61};
    public int BodeSeqFrenteDelay = 200;
    public int[] BodeSeqFrente = {72, 73, 74, 73};
    private Sprite Visao;
    public int VisaoTesteDelay = 600;
    public int[] VisaoTeste = {0, 1, 0, 3};
    public int VisaoDireitaDelay = 200;
    public int[] VisaoDireita = {0};
    public int VisaoCostaDelay = 200;
    public int[] VisaoCosta = {3};
    public int VisaoFrenteDelay = 500;
    public int[] VisaoFrente = {1};
    public int VisaoEsquerdaDelay = 200;
    public int[] VisaoEsquerda = {2};
    private Image visao_cacador;
    private Image Gruff_Goat_2;
    private Image Gruff_Goat;
    private Image platform_tiles;
    private TiledLayer Cerca;
    private TiledLayer Fazenda;
    private Sprite Materazzi4;
    public int Materazzi4EsquerdaDelay = 200;
    public int[] Materazzi4Esquerda = {0, 1, 2};
    public int Materazzi4DireitaDelay = 200;
    public int[] Materazzi4Direita = {3, 4, 5};
    public int Materazzi4FrenteDelay = 200;
    public int[] Materazzi4Frente = {9, 10, 11};
    public int Materazzi4CostaDelay = 200;
    public int[] Materazzi4Costa = {6, 7, 8};
    private Sprite Materazzi5;
    public int Materazzi5EsquerdaDelay = 200;
    public int[] Materazzi5Esquerda = {0, 1, 2};
    public int Materazzi5DireitaDelay = 200;
    public int[] Materazzi5Direita = {3, 4, 5};
    public int Materazzi5FrenteDelay = 200;
    public int[] Materazzi5Frente = {9, 10, 11};
    public int Materazzi5CostaDelay = 200;
    public int[] Materazzi5Costa = {6, 7, 8};
    private Sprite Materazzi6;
    public int Materazzi6CostaDelay = 200;
    public int[] Materazzi6Costa = {6, 7, 8};
    public int Materazzi6FrenteDelay = 200;
    public int[] Materazzi6Frente = {9, 10, 11};
    public int Materazzi6DireitaDelay = 200;
    public int[] Materazzi6Direita = {3, 4, 5};
    public int Materazzi6EsquerdaDelay = 200;
    public int[] Materazzi6Esquerda = {0, 1, 2};
    private Image cacador_frame_30x36_;
    private Sprite Materazzi;
    public int MaterazziEsquerdaDelay = 200;
    public int[] MaterazziEsquerda = {2, 1, 0};
    public int MaterazziFrenteDelay = 200;
    public int[] MaterazziFrente = {9, 10, 11};
    public int MaterazziDireitaDelay = 200;
    public int[] MaterazziDireita = {3, 4, 5};
    public int MaterazziCostaDelay = 200;
    public int[] MaterazziCosta = {6, 7, 8};
    private Sprite Materazzi2;
    public int Materazzi2DireitaDelay = 200;
    public int[] Materazzi2Direita = {3, 4, 5};
    public int Materazzi2EsquerdaDelay = 200;
    public int[] Materazzi2Esquerda = {0, 1, 2};
    public int Materazzi2CostaDelay = 200;
    public int[] Materazzi2Costa = {6, 7, 8};
    public int Materazzi2FrenteDelay = 200;
    public int[] Materazzi2Frente = {9, 10, 11};
    private Image Gruff_Goat_3;
    private Sprite Materazzi3;
    public int Materazzi3DireitaDelay = 200;
    public int[] Materazzi3Direita = {3, 4, 5};
    public int Materazzi3FrenteDelay = 200;
    public int[] Materazzi3Frente = {9, 10, 11};
    public int Materazzi3CostaDelay = 200;
    public int[] Materazzi3Costa = {6, 7, 8};
    public int Materazzi3EsquerdaDelay = 200;
    public int[] Materazzi3Esquerda = {0, 1, 2};
    private Image casa1;
    private TiledLayer Rio;
    private Image hills;
    private TiledLayer BackgroundFazenda;
    //</editor-fold>//GEN-END:|fields|0|
    
    //<editor-fold defaultstate="collapsed" desc=" Generated Methods ">//GEN-BEGIN:|methods|0|
    //</editor-fold>//GEN-END:|methods|0|

    public void updateLayerManagerForForest(LayerManager lm) throws java.io.IOException {//GEN-LINE:|1-updateLayerManager|0|1-preUpdate
        // write pre-update user code here
        getVaca().setPosition(57, 306);//GEN-BEGIN:|1-updateLayerManager|1|1-postUpdate
        getVaca().setVisible(true);
        lm.append(getVaca());
        getCavalo().setPosition(112, 43);
        getCavalo().setVisible(true);
        lm.append(getCavalo());
        getKarel().setPosition(64, 126);
        getKarel().setVisible(true);
        lm.append(getKarel());
        getBode1().setPosition(14, 6);
        getBode1().setVisible(true);
        lm.append(getBode1());
        getTrees().setPosition(191, 3);
        getTrees().setVisible(true);
        lm.append(getTrees());
        getThings().setPosition(16, 111);
        getThings().setVisible(true);
        lm.append(getThings());
        getWater().setPosition(109, 98);
        getWater().setVisible(true);
        lm.append(getWater());
        getBase().setPosition(0, 0);
        getBase().setVisible(true);
        lm.append(getBase());//GEN-END:|1-updateLayerManager|1|1-postUpdate
        // write post-update user code here
    }//GEN-BEGIN:|1-updateLayerManager|2|
//GEN-END:|1-updateLayerManager|2|

    public Image getTopview_tiles() throws java.io.IOException {//GEN-BEGIN:|2-getter|0|2-preInit
        if (topview_tiles == null) {//GEN-END:|2-getter|0|2-preInit
            // write pre-init user code here
            topview_tiles = Image.createImage("/topview_tiles.png");//GEN-BEGIN:|2-getter|1|2-postInit
        }//GEN-END:|2-getter|1|2-postInit
        // write post-init user code here
        return this.topview_tiles;//GEN-BEGIN:|2-getter|2|
    }
//GEN-END:|2-getter|2|

    public TiledLayer getWater() throws java.io.IOException {//GEN-BEGIN:|3-getter|0|3-preInit
        if (Water == null) {//GEN-END:|3-getter|0|3-preInit
            // write pre-init user code here
            Water = new TiledLayer(8, 6, getTopview_tiles(), 16, 16);//GEN-BEGIN:|3-getter|1|3-midInit
            AnimWaterWater = Water.createAnimatedTile(AnimWaterSeq001[0]);
            int[][] tiles = {
                { 0, 0, 44, 31, 31, 31, 31, 32 },
                { 0, 0, 47, 59, AnimWaterWater, 59, AnimWaterWater, 48 },
                { 0, 0, 47, 59, 59, 61, 64, 45 },
                { 0, 0, 47, 59, 59, 48, 0, 0 },
                { 44, 31, 62, 59, 59, 48, 0, 0 },
                { 46, 64, 64, 64, 64, 45, 0, 0 }
            };//GEN-END:|3-getter|1|3-midInit
            // write mid-init user code here
            for (int row = 0; row < 6; row++) {//GEN-BEGIN:|3-getter|2|3-postInit
                for (int col = 0; col < 8; col++) {
                    Water.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|3-getter|2|3-postInit
        // write post-init user code here
        return Water;//GEN-BEGIN:|3-getter|3|
    }
//GEN-END:|3-getter|3|

    public TiledLayer getBase() throws java.io.IOException {//GEN-BEGIN:|6-getter|0|6-preInit
        if (Base == null) {//GEN-END:|6-getter|0|6-preInit
            // write pre-init user code here
            Base = new TiledLayer(24, 23, getTopview_tiles(), 16, 16);//GEN-BEGIN:|6-getter|1|6-midInit
            int[][] tiles = {
                { 7, 3, 17, 6, 6, 6, 6, 35, 23, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16 },
                { 7, 3, 5, 16, 16, 16, 16, 26, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16 },
                { 24, 6, 23, 16, 16, 16, 16, 26, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16 },
                { 16, 16, 16, 16, 16, 16, 16, 26, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16 },
                { 16, 16, 16, 16, 16, 16, 16, 26, 16, 16, 16, 11, 11, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16 },
                { 16, 16, 16, 16, 16, 16, 16, 26, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16 },
                { 16, 15, 16, 16, 16, 16, 16, 30, 28, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16 },
                { 16, 16, 15, 16, 16, 8, 16, 16, 26, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16 },
                { 16, 16, 16, 16, 16, 16, 16, 16, 26, 16, 16, 16, 16, 16, 16, 16, 16, 16, 14, 15, 16, 16, 16, 16 },
                { 16, 16, 16, 16, 16, 16, 16, 16, 30, 25, 25, 25, 25, 28, 16, 16, 16, 16, 14, 16, 16, 16, 16, 16 },
                { 16, 16, 16, 16, 8, 16, 16, 11, 16, 16, 16, 16, 16, 26, 16, 16, 16, 14, 16, 16, 15, 16, 16, 16 },
                { 16, 16, 16, 16, 16, 16, 11, 11, 11, 11, 16, 16, 16, 26, 16, 16, 16, 16, 15, 16, 16, 16, 16, 16 },
                { 16, 16, 16, 16, 16, 11, 11, 11, 11, 11, 11, 16, 16, 26, 16, 16, 16, 16, 16, 15, 15, 16, 16, 16 },
                { 16, 16, 16, 16, 16, 11, 11, 11, 11, 11, 11, 16, 22, 36, 21, 16, 16, 16, 16, 16, 16, 16, 15, 16 },
                { 16, 16, 16, 16, 16, 11, 11, 11, 11, 11, 11, 16, 7, 3, 5, 16, 16, 16, 16, 16, 16, 15, 16, 16 },
                { 16, 16, 16, 16, 16, 11, 11, 11, 11, 11, 16, 27, 34, 1, 5, 16, 16, 16, 16, 16, 14, 16, 16, 16 },
                { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 26, 24, 6, 23, 16, 16, 16, 16, 16, 14, 16, 16, 16 },
                { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 26, 16, 16, 16, 16, 16, 15, 14, 14, 16, 16, 16, 16 },
                { 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 29, 16, 16, 16, 16, 16, 15, 15, 14, 16, 16, 16, 16 },
                { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 15, 15, 16, 16, 16, 16, 16, 16, 16 },
                { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 15, 16, 16, 15, 16, 16, 16, 16, 16, 16 },
                { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 15, 16, 16, 16, 15, 16, 16, 16, 16 },
                { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 15, 16, 16, 16, 16 }
            };//GEN-END:|6-getter|1|6-midInit
            // write mid-init user code here
            for (int row = 0; row < 23; row++) {//GEN-BEGIN:|6-getter|2|6-postInit
                for (int col = 0; col < 24; col++) {
                    Base.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|6-getter|2|6-postInit
        // write post-init user code here
        return Base;//GEN-BEGIN:|6-getter|3|
    }
//GEN-END:|6-getter|3|

    public TiledLayer getThings() throws java.io.IOException {//GEN-BEGIN:|31-getter|0|31-preInit
        if (Things == null) {//GEN-END:|31-getter|0|31-preInit
            // write pre-init user code here
            Things = new TiledLayer(15, 15, getTopview_tiles(), 16, 16);//GEN-BEGIN:|31-getter|1|31-midInit
            int[][] tiles = {
                { 0, 0, 0, 0, 0, 0, 0, 68, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 67, 67, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 67, 67, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 67, 67, 0, 0, 0, 0, 0, 0, 0, 0, 0, 70, 0, 0 },
                { 0, 0, 67, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 69, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 69, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
            };//GEN-END:|31-getter|1|31-midInit
            // write mid-init user code here
            for (int row = 0; row < 15; row++) {//GEN-BEGIN:|31-getter|2|31-postInit
                for (int col = 0; col < 15; col++) {
                    Things.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|31-getter|2|31-postInit
        // write post-init user code here
        return Things;//GEN-BEGIN:|31-getter|3|
    }
//GEN-END:|31-getter|3|

    public Sprite getThomas() throws java.io.IOException {//GEN-BEGIN:|51-getter|0|51-preInit
        if (Thomas == null) {//GEN-END:|51-getter|0|51-preInit
                // write pre-init user code here
            Thomas = new Sprite(getTopview_tiles(), 16, 16);//GEN-BEGIN:|51-getter|1|51-postInit
            Thomas.setFrameSequence(ThomasSeqWalkVert);//GEN-END:|51-getter|1|51-postInit
                // write post-init user code here
        }//GEN-BEGIN:|51-getter|2|
        return Thomas;
    }
//GEN-END:|51-getter|2|

    public Sprite getKarel() throws java.io.IOException {//GEN-BEGIN:|70-getter|0|70-preInit
        if (Karel == null) {//GEN-END:|70-getter|0|70-preInit
                // write pre-init user code here
            Karel = new Sprite(getTopview_tiles(), 16, 16);//GEN-BEGIN:|70-getter|1|70-postInit
            Karel.setFrameSequence(KarelSeqWalkUp);//GEN-END:|70-getter|1|70-postInit
                // write post-init user code here
        }//GEN-BEGIN:|70-getter|2|
        return Karel;
    }
//GEN-END:|70-getter|2|



    public Image getPlatform_tiles() throws java.io.IOException {//GEN-BEGIN:|161-getter|0|161-preInit
        if (platform_tiles == null) {//GEN-END:|161-getter|0|161-preInit
                // write pre-init user code here
            platform_tiles = Image.createImage("/platform_tiles.png");//GEN-BEGIN:|161-getter|1|161-postInit
        }//GEN-END:|161-getter|1|161-postInit
            // write post-init user code here
        return this.platform_tiles;//GEN-BEGIN:|161-getter|2|
    }
//GEN-END:|161-getter|2|

    public TiledLayer getTrees() throws java.io.IOException {//GEN-BEGIN:|276-getter|0|276-preInit
        if (Trees == null) {//GEN-END:|276-getter|0|276-preInit
                // write pre-init user code here
            Trees = new TiledLayer(11, 22, getTopview_tiles(), 16, 16);//GEN-BEGIN:|276-getter|1|276-midInit
            int[][] tiles = {
                { 10, 10, 10, 10, 10, 10, 10, 0, 0, 0, 0 },
                { 0, 12, 10, 10, 10, 10, 10, 10, 0, 0, 0 },
                { 0, 12, 10, 12, 10, 10, 10, 10, 0, 10, 0 },
                { 9, 0, 12, 10, 10, 10, 10, 10, 10, 10, 0 },
                { 0, 0, 12, 12, 10, 10, 10, 10, 10, 10, 0 },
                { 0, 0, 0, 12, 10, 10, 10, 10, 0, 0, 0 },
                { 0, 0, 0, 12, 12, 10, 10, 10, 0, 0, 0 },
                { 0, 0, 0, 12, 10, 10, 12, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 10, 10, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 12, 10, 0, 0, 13, 0, 0 },
                { 0, 0, 0, 12, 0, 0, 0, 0, 13, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 13, 13, 13 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 13, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 13, 13, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 13, 0, 13, 13, 13, 0, 0, 0 }
            };//GEN-END:|276-getter|1|276-midInit
                // write mid-init user code here
            for (int row = 0; row < 22; row++) {//GEN-BEGIN:|276-getter|2|276-postInit
                for (int col = 0; col < 11; col++) {
                    Trees.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|276-getter|2|276-postInit
            // write post-init user code here
        return Trees;//GEN-BEGIN:|276-getter|3|
    }
//GEN-END:|276-getter|3|

    public Image getBode2_1() throws java.io.IOException {//GEN-BEGIN:|619-getter|0|619-preInit
        if (bode2_1 == null) {//GEN-END:|619-getter|0|619-preInit
                // write pre-init user code here
            bode2_1 = Image.createImage("/animais.png");//GEN-BEGIN:|619-getter|1|619-postInit
        }//GEN-END:|619-getter|1|619-postInit
            // write post-init user code here
        return this.bode2_1;//GEN-BEGIN:|619-getter|2|
    }
//GEN-END:|619-getter|2|

    public Sprite getOvelha() throws java.io.IOException {//GEN-BEGIN:|620-getter|0|620-preInit
        if (Ovelha == null) {//GEN-END:|620-getter|0|620-preInit
                // write pre-init user code here
            Ovelha = new Sprite(getBode2_1(), 24, 32);//GEN-BEGIN:|620-getter|1|620-postInit
            Ovelha.setFrameSequence(BodeFrente);//GEN-END:|620-getter|1|620-postInit
                // write post-init user code here
        }//GEN-BEGIN:|620-getter|2|
        return Ovelha;
    }
//GEN-END:|620-getter|2|

    public Image getGruff_Goat() throws java.io.IOException {//GEN-BEGIN:|652-getter|0|652-preInit
        if (Gruff_Goat == null) {//GEN-END:|652-getter|0|652-preInit
            // write pre-init user code here
            Gruff_Goat = Image.createImage("/animais.png");//GEN-BEGIN:|652-getter|1|652-postInit
        }//GEN-END:|652-getter|1|652-postInit
        // write post-init user code here
        return this.Gruff_Goat;//GEN-BEGIN:|652-getter|2|
    }
//GEN-END:|652-getter|2|



    public Image getGruff_Goat_1() throws java.io.IOException {//GEN-BEGIN:|677-getter|0|677-preInit
        if (Gruff_Goat_1 == null) {//GEN-END:|677-getter|0|677-preInit
            // write pre-init user code here
            Gruff_Goat_1 = Image.createImage("/animais.png");//GEN-BEGIN:|677-getter|1|677-postInit
        }//GEN-END:|677-getter|1|677-postInit
        // write post-init user code here
        return this.Gruff_Goat_1;//GEN-BEGIN:|677-getter|2|
    }
//GEN-END:|677-getter|2|

    public Image getGruff_Goat_2() throws java.io.IOException {//GEN-BEGIN:|694-getter|0|694-preInit
        if (Gruff_Goat_2 == null) {//GEN-END:|694-getter|0|694-preInit
            // write pre-init user code here
            Gruff_Goat_2 = Image.createImage("/animais.png");//GEN-BEGIN:|694-getter|1|694-postInit
        }//GEN-END:|694-getter|1|694-postInit
        // write post-init user code here
        return this.Gruff_Goat_2;//GEN-BEGIN:|694-getter|2|
    }
//GEN-END:|694-getter|2|

    public Image getGruff_Goat_3() throws java.io.IOException {//GEN-BEGIN:|726-getter|0|726-preInit
        if (Gruff_Goat_3 == null) {//GEN-END:|726-getter|0|726-preInit
            // write pre-init user code here
            Gruff_Goat_3 = Image.createImage("/animais.png");//GEN-BEGIN:|726-getter|1|726-postInit
        }//GEN-END:|726-getter|1|726-postInit
        // write post-init user code here
        return this.Gruff_Goat_3;//GEN-BEGIN:|726-getter|2|
    }
//GEN-END:|726-getter|2|



    public TiledLayer getFazenda() throws java.io.IOException {//GEN-BEGIN:|749-getter|0|749-preInit
        if (Fazenda == null) {//GEN-END:|749-getter|0|749-preInit
            // write pre-init user code here
            Fazenda = new TiledLayer(20, 20, getTopview_tiles(), 16, 16);//GEN-BEGIN:|749-getter|1|749-midInit
            int[][] tiles = {
                { 14, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 14 },
                { 16, 16, 16, 16, 16, 16, 14, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16 },
                { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 14, 16, 16, 16, 16, 16 },
                { 16, 16, 16, 14, 16, 16, 16, 16, 16, 16, 16, 16, 14, 16, 16, 16, 16, 16, 16, 16 },
                { 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4 },
                { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 },
                { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 },
                { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 },
                { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 },
                { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 },
                { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 },
                { 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6 },
                { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16 },
                { 16, 16, 16, 16, 16, 14, 16, 16, 16, 16, 16, 16, 16, 16, 16, 14, 16, 16, 16, 16 },
                { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16 },
                { 16, 16, 16, 16, 16, 16, 16, 16, 16, 14, 16, 16, 16, 14, 16, 16, 16, 16, 16, 16 },
                { 16, 16, 14, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16 },
                { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16 },
                { 4, 4, 4, 16, 16, 16, 16, 14, 16, 16, 16, 16, 16, 16, 16, 14, 16, 16, 16, 16 },
                { 1, 1, 1, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16 }
            };//GEN-END:|749-getter|1|749-midInit
            // write mid-init user code here
            for (int row = 0; row < 20; row++) {//GEN-BEGIN:|749-getter|2|749-postInit
                for (int col = 0; col < 20; col++) {
                    Fazenda.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|749-getter|2|749-postInit
        // write post-init user code here
        return Fazenda;//GEN-BEGIN:|749-getter|3|
    }
//GEN-END:|749-getter|3|

    public TiledLayer getCerca() throws java.io.IOException {//GEN-BEGIN:|750-getter|0|750-preInit
        if (Cerca == null) {//GEN-END:|750-getter|0|750-preInit
            // write pre-init user code here
            Cerca = new TiledLayer(20, 1, getTopview_tiles(), 16, 16);//GEN-BEGIN:|750-getter|1|750-midInit
            int[][] tiles = {
                { 38, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 40, 0, 0 }
            };//GEN-END:|750-getter|1|750-midInit
            // write mid-init user code here
            for (int row = 0; row < 1; row++) {//GEN-BEGIN:|750-getter|2|750-postInit
                for (int col = 0; col < 20; col++) {
                    Cerca.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|750-getter|2|750-postInit
        // write post-init user code here
        return Cerca;//GEN-BEGIN:|750-getter|3|
    }
//GEN-END:|750-getter|3|

    public void updateLayerManagerForFaseFazenda(LayerManager lm) throws java.io.IOException {//GEN-LINE:|751-updateLayerManager|0|751-preUpdate
        // write pre-update user code here
        getVisao().setPosition(252, 116);//GEN-BEGIN:|751-updateLayerManager|1|751-postUpdate
        getVisao().setVisible(true);
        lm.append(getVisao());
        getMaterazzi().setPosition(252, 79);
        getMaterazzi().setVisible(true);
        lm.append(getMaterazzi());
        getMudarFase1().setPosition(6, 298);
        getMudarFase1().setVisible(true);
        lm.append(getMudarFase1());
        getBode1().setPosition(56, 14);
        getBode1().setVisible(true);
        lm.append(getBode1());
        getOvelha().setPosition(202, 241);
        getOvelha().setVisible(true);
        lm.append(getOvelha());
        getWater().setPosition(68, 190);
        getWater().setVisible(true);
        lm.append(getWater());
        getCerca().setPosition(2, 58);
        getCerca().setVisible(true);
        lm.append(getCerca());
        getFazenda().setPosition(1, -7);
        getFazenda().setVisible(true);
        lm.append(getFazenda());//GEN-END:|751-updateLayerManager|1|751-postUpdate
        // write post-update user code here
    }//GEN-BEGIN:|751-updateLayerManager|2|
//GEN-END:|751-updateLayerManager|2|

    public Image getBode2() throws java.io.IOException {//GEN-BEGIN:|797-getter|0|797-preInit
        if (bode2 == null) {//GEN-END:|797-getter|0|797-preInit
            // write pre-init user code here
            bode2 = Image.createImage("/animais.png");//GEN-BEGIN:|797-getter|1|797-postInit
        }//GEN-END:|797-getter|1|797-postInit
        // write post-init user code here
        return this.bode2;//GEN-BEGIN:|797-getter|2|
    }
//GEN-END:|797-getter|2|

    public Sprite getCavalo() throws java.io.IOException {//GEN-BEGIN:|798-getter|0|798-preInit
        if (Cavalo == null) {//GEN-END:|798-getter|0|798-preInit
            // write pre-init user code here
            Cavalo = new Sprite(getBode2(), 24, 32);//GEN-BEGIN:|798-getter|1|798-postInit
            Cavalo.setFrameSequence(CavaloFrente);//GEN-END:|798-getter|1|798-postInit
            // write post-init user code here
        }//GEN-BEGIN:|798-getter|2|
        return Cavalo;
    }
//GEN-END:|798-getter|2|

    public Sprite getVaca() throws java.io.IOException {//GEN-BEGIN:|803-getter|0|803-preInit
        if (Vaca == null) {//GEN-END:|803-getter|0|803-preInit
            // write pre-init user code here
            Vaca = new Sprite(getBode2(), 24, 32);//GEN-BEGIN:|803-getter|1|803-postInit
            Vaca.setFrameSequence(VacaFrente);//GEN-END:|803-getter|1|803-postInit
            // write post-init user code here
        }//GEN-BEGIN:|803-getter|2|
        return Vaca;
    }
//GEN-END:|803-getter|2|



    public void updateLayerManagerForFaseCidade(LayerManager lm) throws java.io.IOException {//GEN-LINE:|873-updateLayerManager|0|873-preUpdate
        // write pre-update user code here
        getOvelha().setPosition(123, 44);//GEN-BEGIN:|873-updateLayerManager|1|873-postUpdate
        getOvelha().setVisible(true);
        lm.append(getOvelha());
        getBase().setPosition(4, -1);
        getBase().setVisible(true);
        lm.append(getBase());//GEN-END:|873-updateLayerManager|1|873-postUpdate
        // write post-update user code here
    }//GEN-BEGIN:|873-updateLayerManager|2|
//GEN-END:|873-updateLayerManager|2|

    public TiledLayer getMudarFase1() throws java.io.IOException {//GEN-BEGIN:|884-getter|0|884-preInit
        if (MudarFase1 == null) {//GEN-END:|884-getter|0|884-preInit
            // write pre-init user code here
            MudarFase1 = new TiledLayer(2, 2, getTopview_tiles(), 16, 16);//GEN-BEGIN:|884-getter|1|884-midInit
            int[][] tiles = {
                { 111, 111 },
                { 111, 111 }
            };//GEN-END:|884-getter|1|884-midInit
            // write mid-init user code here
            for (int row = 0; row < 2; row++) {//GEN-BEGIN:|884-getter|2|884-postInit
                for (int col = 0; col < 2; col++) {
                    MudarFase1.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|884-getter|2|884-postInit
        // write post-init user code here
        return MudarFase1;//GEN-BEGIN:|884-getter|3|
    }
//GEN-END:|884-getter|3|

    public Image getBode() throws java.io.IOException {//GEN-BEGIN:|945-getter|0|945-preInit
        if (bode == null) {//GEN-END:|945-getter|0|945-preInit
            // write pre-init user code here
            bode = Image.createImage("/bode.png");//GEN-BEGIN:|945-getter|1|945-postInit
        }//GEN-END:|945-getter|1|945-postInit
        // write post-init user code here
        return this.bode;//GEN-BEGIN:|945-getter|2|
    }
//GEN-END:|945-getter|2|

    public Sprite getBode1() throws java.io.IOException {//GEN-BEGIN:|946-getter|0|946-preInit
        if (Bode1 == null) {//GEN-END:|946-getter|0|946-preInit
            // write pre-init user code here
            Bode1 = new Sprite(getBode(), 24, 32);//GEN-BEGIN:|946-getter|1|946-postInit
            Bode1.setFrameSequence(BodeSeqFrente);//GEN-END:|946-getter|1|946-postInit
            // write post-init user code here
        }//GEN-BEGIN:|946-getter|2|
        return Bode1;
    }
//GEN-END:|946-getter|2|

    public TiledLayer getGrade() throws java.io.IOException {//GEN-BEGIN:|1072-getter|0|1072-preInit
        if (Grade == null) {//GEN-END:|1072-getter|0|1072-preInit
            // write pre-init user code here
            Grade = new TiledLayer(20, 20, getTopview_tiles(), 16, 16);//GEN-BEGIN:|1072-getter|1|1072-midInit
            int[][] tiles = {
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
            };//GEN-END:|1072-getter|1|1072-midInit
            // write mid-init user code here
            for (int row = 0; row < 20; row++) {//GEN-BEGIN:|1072-getter|2|1072-postInit
                for (int col = 0; col < 20; col++) {
                    Grade.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|1072-getter|2|1072-postInit
        // write post-init user code here
        return Grade;//GEN-BEGIN:|1072-getter|3|
    }
//GEN-END:|1072-getter|3|

    public Image getCacador_frame_30x36_() throws java.io.IOException {//GEN-BEGIN:|1443-getter|0|1443-preInit
        if (cacador_frame_30x36_ == null) {//GEN-END:|1443-getter|0|1443-preInit
            // write pre-init user code here
            cacador_frame_30x36_ = Image.createImage("/cacador_frame(30x36).png");//GEN-BEGIN:|1443-getter|1|1443-postInit
        }//GEN-END:|1443-getter|1|1443-postInit
        // write post-init user code here
        return this.cacador_frame_30x36_;//GEN-BEGIN:|1443-getter|2|
    }
//GEN-END:|1443-getter|2|

    public Sprite getMaterazzi() throws java.io.IOException {//GEN-BEGIN:|1444-getter|0|1444-preInit
        if (Materazzi == null) {//GEN-END:|1444-getter|0|1444-preInit
            // write pre-init user code here
            Materazzi = new Sprite(getCacador_frame_30x36_(), 30, 36);//GEN-BEGIN:|1444-getter|1|1444-postInit
            Materazzi.setFrameSequence(MaterazziFrente);//GEN-END:|1444-getter|1|1444-postInit
            // write post-init user code here
        }//GEN-BEGIN:|1444-getter|2|
        return Materazzi;
    }
//GEN-END:|1444-getter|2|

    public Sprite getMaterazzi2() throws java.io.IOException {//GEN-BEGIN:|1449-getter|0|1449-preInit
        if (Materazzi2 == null) {//GEN-END:|1449-getter|0|1449-preInit
            // write pre-init user code here
            Materazzi2 = new Sprite(getCacador_frame_30x36_(), 30, 36);//GEN-BEGIN:|1449-getter|1|1449-postInit
            Materazzi2.setFrameSequence(Materazzi2Frente);//GEN-END:|1449-getter|1|1449-postInit
            // write post-init user code here
        }//GEN-BEGIN:|1449-getter|2|
        return Materazzi2;
    }
//GEN-END:|1449-getter|2|

    public Sprite getMaterazzi3() throws java.io.IOException {//GEN-BEGIN:|1454-getter|0|1454-preInit
        if (Materazzi3 == null) {//GEN-END:|1454-getter|0|1454-preInit
            // write pre-init user code here
            Materazzi3 = new Sprite(getCacador_frame_30x36_(), 30, 36);//GEN-BEGIN:|1454-getter|1|1454-postInit
            Materazzi3.setFrameSequence(Materazzi3Frente);//GEN-END:|1454-getter|1|1454-postInit
            // write post-init user code here
        }//GEN-BEGIN:|1454-getter|2|
        return Materazzi3;
    }
//GEN-END:|1454-getter|2|

    public Sprite getMaterazzi4() throws java.io.IOException {//GEN-BEGIN:|1459-getter|0|1459-preInit
        if (Materazzi4 == null) {//GEN-END:|1459-getter|0|1459-preInit
            // write pre-init user code here
            Materazzi4 = new Sprite(getCacador_frame_30x36_(), 30, 36);//GEN-BEGIN:|1459-getter|1|1459-postInit
            Materazzi4.setFrameSequence(Materazzi4Frente);//GEN-END:|1459-getter|1|1459-postInit
            // write post-init user code here
        }//GEN-BEGIN:|1459-getter|2|
        return Materazzi4;
    }
//GEN-END:|1459-getter|2|

    public Sprite getMaterazzi5() throws java.io.IOException {//GEN-BEGIN:|1465-getter|0|1465-preInit
        if (Materazzi5 == null) {//GEN-END:|1465-getter|0|1465-preInit
            // write pre-init user code here
            Materazzi5 = new Sprite(getCacador_frame_30x36_(), 30, 36);//GEN-BEGIN:|1465-getter|1|1465-postInit
            Materazzi5.setFrameSequence(Materazzi5Frente);//GEN-END:|1465-getter|1|1465-postInit
            // write post-init user code here
        }//GEN-BEGIN:|1465-getter|2|
        return Materazzi5;
    }
//GEN-END:|1465-getter|2|

    public Sprite getMaterazzi6() throws java.io.IOException {//GEN-BEGIN:|1470-getter|0|1470-preInit
        if (Materazzi6 == null) {//GEN-END:|1470-getter|0|1470-preInit
            // write pre-init user code here
            Materazzi6 = new Sprite(getCacador_frame_30x36_(), 30, 36);//GEN-BEGIN:|1470-getter|1|1470-postInit
            Materazzi6.setFrameSequence(Materazzi6Esquerda);//GEN-END:|1470-getter|1|1470-postInit
            // write post-init user code here
        }//GEN-BEGIN:|1470-getter|2|
        return Materazzi6;
    }
//GEN-END:|1470-getter|2|

    public Image getVisao_cacador() throws java.io.IOException {//GEN-BEGIN:|1477-getter|0|1477-preInit
        if (visao_cacador == null) {//GEN-END:|1477-getter|0|1477-preInit
            // write pre-init user code here
            visao_cacador = Image.createImage("/visao_cacador.png");//GEN-BEGIN:|1477-getter|1|1477-postInit
        }//GEN-END:|1477-getter|1|1477-postInit
        // write post-init user code here
        return this.visao_cacador;//GEN-BEGIN:|1477-getter|2|
    }
//GEN-END:|1477-getter|2|

    public Sprite getVisao() throws java.io.IOException {//GEN-BEGIN:|1478-getter|0|1478-preInit
        if (Visao == null) {//GEN-END:|1478-getter|0|1478-preInit
            // write pre-init user code here
            Visao = new Sprite(getVisao_cacador(), 78, 78);//GEN-BEGIN:|1478-getter|1|1478-postInit
            Visao.setFrameSequence(VisaoFrente);//GEN-END:|1478-getter|1|1478-postInit
            // write post-init user code here
        }//GEN-BEGIN:|1478-getter|2|
        return Visao;
    }
//GEN-END:|1478-getter|2|

    public Image getCasa1() throws java.io.IOException {//GEN-BEGIN:|1756-getter|0|1756-preInit
        if (casa1 == null) {//GEN-END:|1756-getter|0|1756-preInit
            // write pre-init user code here
            casa1 = Image.createImage("/casa1.png");//GEN-BEGIN:|1756-getter|1|1756-postInit
        }//GEN-END:|1756-getter|1|1756-postInit
        // write post-init user code here
        return this.casa1;//GEN-BEGIN:|1756-getter|2|
    }
//GEN-END:|1756-getter|2|

    public TiledLayer getRio() throws java.io.IOException {//GEN-BEGIN:|1757-getter|0|1757-preInit
        if (Rio == null) {//GEN-END:|1757-getter|0|1757-preInit
            // write pre-init user code here
            Rio = new TiledLayer(55, 46, getCasa1(), 20, 16);//GEN-BEGIN:|1757-getter|1|1757-midInit
            int[][] tiles = {
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 98, 98, 98, 98, 98, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 121, 98, 98, 98, 98, 98, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 121, 98, 98, 98, 98, 98, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 121, 98, 98, 98, 98, 98, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 98, 98, 98, 98, 98, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 121, 121, 121, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 121, 121, 121, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 121, 121, 121, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 121, 121, 121, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 121, 121, 121, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 121, 121, 121, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 121, 121, 121, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 121, 121, 121, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 121, 121, 121, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 121, 121, 97, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 121, 121, 97, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 97, 97, 97, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 97, 97, 97, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 97, 97, 97, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 97, 97, 97, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 97, 97, 97, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 97, 97, 121, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 121, 121, 121, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 121, 121, 121, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 121, 121, 121, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 121, 121, 121, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
            };//GEN-END:|1757-getter|1|1757-midInit
            // write mid-init user code here
            for (int row = 0; row < 46; row++) {//GEN-BEGIN:|1757-getter|2|1757-postInit
                for (int col = 0; col < 55; col++) {
                    Rio.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|1757-getter|2|1757-postInit
        // write post-init user code here
        return Rio;//GEN-BEGIN:|1757-getter|3|
    }
//GEN-END:|1757-getter|3|

    public Image getHills() throws java.io.IOException {//GEN-BEGIN:|1758-getter|0|1758-preInit
        if (hills == null) {//GEN-END:|1758-getter|0|1758-preInit
            // write pre-init user code here
            hills = Image.createImage("/hills.png");//GEN-BEGIN:|1758-getter|1|1758-postInit
        }//GEN-END:|1758-getter|1|1758-postInit
        // write post-init user code here
        return this.hills;//GEN-BEGIN:|1758-getter|2|
    }
//GEN-END:|1758-getter|2|

    public TiledLayer getBackgroundFazenda() throws java.io.IOException {//GEN-BEGIN:|1759-getter|0|1759-preInit
        if (BackgroundFazenda == null) {//GEN-END:|1759-getter|0|1759-preInit
            // write pre-init user code here
            BackgroundFazenda = new TiledLayer(75, 48, getHills(), 16, 16);//GEN-BEGIN:|1759-getter|1|1759-midInit
            int[][] tiles = {
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 },
                { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 }
            };//GEN-END:|1759-getter|1|1759-midInit
            // write mid-init user code here
            for (int row = 0; row < 48; row++) {//GEN-BEGIN:|1759-getter|2|1759-postInit
                for (int col = 0; col < 75; col++) {
                    BackgroundFazenda.setCell(col, row, tiles[row][col]);
                }
            }
        }//GEN-END:|1759-getter|2|1759-postInit
        // write post-init user code here
        return BackgroundFazenda;//GEN-BEGIN:|1759-getter|3|
    }
//GEN-END:|1759-getter|3|

    public void updateLayerManagerForCenaFazenda(LayerManager lm) throws java.io.IOException {//GEN-LINE:|1760-updateLayerManager|0|1760-preUpdate
        // write pre-update user code here
        getVisao().setPosition(80, 260);//GEN-BEGIN:|1760-updateLayerManager|1|1760-postUpdate
        getVisao().setVisible(true);
        lm.append(getVisao());
        getMaterazzi().setPosition(98, 220);
        getMaterazzi().setVisible(true);
        lm.append(getMaterazzi());
        getBode1().setPosition(63, 116);
        getBode1().setVisible(true);
        lm.append(getBode1());
        getRio().setPosition(160, 40);
        getRio().setVisible(true);
        lm.append(getRio());
        getBackgroundFazenda().setPosition(0, 0);
        getBackgroundFazenda().setVisible(true);
        lm.append(getBackgroundFazenda());//GEN-END:|1760-updateLayerManager|1|1760-postUpdate
        // write post-update user code here
    }//GEN-BEGIN:|1760-updateLayerManager|2|
//GEN-END:|1760-updateLayerManager|2|




    
}
